package study02;

public class Java11_string_builder {
    public static void main(String[] args) {
//      StringBuilder
        StringBuilder s = new StringBuilder();
        for (int i = 0; i < 100; i++) {
            s.append(i);
        }
        System.out.println(s.toString());
        System.out.println(s.reverse()); // 反转
        System.out.println(s.insert(1, "WC")); // 插入
    }
}
